From: Carlos Soriano Date: Mon, 19 Aug 2013 12:02:02 +0000 (+0200) Subject: appDisplay: Start always at page 0 in AllView X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3539 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=74978e84f82b361f9d89f6d2ba911f574cf6dd22;p=gnome-shell.git appDisplay: Start always at page 0 in AllView Reset the AllView scroll adjustment between overview openings, following design reasons https://bugzilla.gnome.org/show_bug.cgi?id=706081 --- diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index bd2e15de4..ba1c40cf1 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -325,6 +325,11 @@ const AllView = new Lang.Class({ this._availWidth = 0; this._availHeight = 0; + + Main.overview.connect('hidden', Lang.bind(this, + function() { + this.goToPage(0); + })); }, getCurrentPageY: function() {